<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>双开门</title>
		<style type="text/css">
			.bg{
				width: 600px;
				height: 300px;
				background: url(img/monv.jpg) -277px,-600px;
				background-size: auto;
				margin: 100px auto;
				overflow: hidden;
			}
			.v1,.v2{
				width: 300px;
				height: 300px;
				border: none;
				background-color: #00FFFF;
				float: left;
				transition: all 1.5s;
			}
			.v2{
				background-color: #7FFFD4;
			}
			.bg:hover .v1{
				transform: translate(-100%);
			}
			.bg:hover .v2{
				transform: translate(100%);
			}
		</style>
	</head>
	<body>
		<div class="bg">
			<div class="v1"></div>
			<div class="v2"></div>
		</div>
	</body>
</html>
